import React from 'react';
import ReactDOM from 'react-dom';
import {renderRoutes} from 'react-router-config';
import './index.css';
import { BrowserRouter as Router } from 'react-router-dom'
import routes from './routes/index'
import {Provider} from "react-redux";
import store from "./store";
ReactDOM.render(
    <Provider store={store}>
      <React.StrictMode>
        <Router>
          {renderRoutes(routes)}
        </Router>
      </React.StrictMode>
    </Provider>
,
  document.getElementById('root')
);

